package com.campus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.campus.common.core.Pager;
import com.campus.model.TManagerClass;
import com.campus.model.dto.ManagerActivityUpdateDto;
import com.campus.model.dto.ManagerClassConditionDto;
import com.campus.model.dto.ManagerClassCreateDto;
import com.campus.model.dto.ManagerClassUpdateDto;
import com.campus.model.param.AddClassStudentParam;
import com.campus.model.param.AddClassStudentsParam;
import com.campus.model.vo.ClassPageVo;

import java.util.List;

public interface IManagerClassService {

    public Integer createClass(ManagerClassCreateDto managerClassCreateDto);

    public Integer updateClass(ManagerClassUpdateDto managerClassUpdateDto);

    public Page<ClassPageVo> getClassListByConditions(ManagerClassConditionDto managerClassConditionDto, Pager pager);

    public Integer addClassTeacher(Long classId, Long teacherId);

    public Integer addClassStudents(AddClassStudentsParam addClassStudentsParam);

    public Integer addClassStudent(AddClassStudentParam addClassStudentsParam);

    public Long TeacherClassCount(Long teacherId);

    public Boolean isJoinClass(Long studentId);

    public Boolean isJoinClass(List<Long> studentId);
}
